@Named to a
mocked version of itself.@Named.@Named.@Named to a
mocked version of itself.@Named to a
mocked version of itself.@Named so that spies of instances are returned
instead of instances themselves.@Named so that spies of instances are returned
instead of instances themselves.Module via the exposed methods.TestScope.SINGLETON
but they get instantiated automatically with each new test.TestMockSingleton are automatically mocked.Writer you want to use to report the tree of test objects,and whether they
were mocked, spied, automatically instantiated, or explicitly bound.Statement invoking a list of methods with parameters by filling-in
these parameters with injected instances.Statement invoking a list of methods with parameters by filling-in
these parameters with injected instances.Module with a bit of syntactic sugar
to bind within typical test scopes.Provider is required to provide an
object and the test case needs to provide a mock of the object.Provider that will return mocked objects of the specified types.#setReportWriter(Writer).JukitoModule to a list of the bindings that were
observed by a preliminary run of BindingsCollector.TestModule to a given test class.TestScope.EAGER_SINGLETON scope.TestScope.SINGLETON scope.Module with a bit of syntactic sugar to bind within
typical test scopes.TestScope.SINGLETON and TestScope.EAGER_SINGLETON scopes for
test cases running with the JukitoRunner.TestScope.SINGLETON scope.@RunWith(JukitoRunner.class) to use the bindings contained
in the specified modules for the test.errors for each method annotated with @Test,
@Before, or @After that is not a public, void instance
method with no arguments.errors if any method in this class is annotated with
the provided annotation, but:
is not public, or
returns something other than void, or
is static (given isStatic is false), or
is not static (given isStatic is true).errors for each method annotated with @Testthat
is not a public, void instance method with no arguments.Copyright © 2010-2013 ArcBees Inc.. All Rights Reserved.