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. - BaseStubbing<T> - Class in org.mockito.internal.stubbing
- 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.
- BeanPropertySetter - Class in org.mockito.internal.util.reflection
-
This utility class will call the setter of the property to inject a new value.
- BeanPropertySetter(Object, Field) - Constructor for class org.mockito.internal.util.reflection.BeanPropertySetter
-
New BeanPropertySetter that don't report failure
- BeanPropertySetter(Object, Field, boolean) - Constructor for class org.mockito.internal.util.reflection.BeanPropertySetter
-
New BeanPropertySetter
- Better failure diagnostics by detecting mismatched stubs - Search tag in interface org.mockito.quality.MockitoHint
- Section
- bindMatchers(ArgumentMatcherStorage, Invocation) - Method in class org.mockito.internal.invocation.MatchersBinder
- 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.
- build(Class<T2>) - Method in class org.mockito.internal.creation.MockSettingsImpl
- 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.
- buildStatic(Class<T2>) - Method in class org.mockito.internal.creation.MockSettingsImpl
- ByteBuddyMockMaker - Class in org.mockito.internal.creation.bytebuddy
-
ByteBuddy MockMaker.
- ByteBuddyMockMaker() - Constructor for class org.mockito.internal.creation.bytebuddy.ByteBuddyMockMaker
- BytecodeGenerator - Interface in org.mockito.internal.creation.bytebuddy
- 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