Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
B
- 29. BDD style verification (Since 1.10.0) - Search tag in class org.mockito.Mockito
- Section
- 32. Better generic support with deep stubs (Since 1.10.0) - Search tag in class org.mockito.Mockito
- Section
- BaseStubber - Interface in org.mockito.stubbing
-
Base interface for stubbing consecutive method calls with
Mockito.doReturn(Object)
syntax. - BASIC - Enum constant in enum org.mockito.mock.SerializableMode
-
Basic serializable mode for mock objects.
- BDDMockito - Class in org.mockito
-
Behavior Driven Development style of writing tests uses //given //when //then comments as fundamental parts of your test methods.
- BDDMockito() - Constructor for class org.mockito.BDDMockito
- BDDMockito.BDDMyOngoingStubbing<T> - Interface in org.mockito
-
See original
OngoingStubbing
- BDDMockito.BDDStubber - Interface in org.mockito
-
See original
Stubber
- BDDMockito.Then<T> - Interface in org.mockito
-
Provides fluent way of mock verification.
- Better failure diagnostics by detecting mismatched stubs - Search tag in interface org.mockito.quality.MockitoHint
- Section
- booleanThat(Matcher<Boolean>) - Static method in class org.mockito.hamcrest.MockitoHamcrest
-
Enables integrating hamcrest matchers that match primitive
boolean
arguments. - booleanThat(ArgumentMatcher<Boolean>) - Static method in class org.mockito.ArgumentMatchers
-
Allows creating custom
boolean
argument matchers. - build(Class<T>) - Method in interface org.mockito.MockSettings
-
Creates immutable view of mock settings used later by Mockito.
- buildStatic(Class<T>) - Method in interface org.mockito.MockSettings
-
Creates immutable view of mock settings used later by Mockito, for use within a static mocking.
- byteThat(Matcher<Byte>) - Static method in class org.mockito.hamcrest.MockitoHamcrest
-
Enables integrating hamcrest matchers that match primitive
byte
arguments. - byteThat(ArgumentMatcher<Byte>) - Static method in class org.mockito.ArgumentMatchers
-
Allows creating custom
byte
argument matchers.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form