public class TestProductContextRunner extends Object
ProductContextRunner| Modifier and Type | Class and Description |
|---|---|
static class |
TestProductContextRunner.ExtendingCorrectlyAnnotatedClass |
static class |
TestProductContextRunner.MockTestedProductNotInjectionContext |
static class |
TestProductContextRunner.MockTestedProductThatIsInjectionContext |
static class |
TestProductContextRunner.NotAnnotated |
static class |
TestProductContextRunner.WithAnnotationNotInjectionContext |
static class |
TestProductContextRunner.WithAnnotationProductThatIsInjectionContext |
| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.ExpectedException |
expectedException |
| Constructor and Description |
|---|
TestProductContextRunner() |
| Modifier and Type | Method and Description |
|---|---|
void |
createsTestClassAndInjectsProductImplementingInjectionContext() |
void |
doesNotSupportTestClassesNotAnnotatedWithTestedProductClass() |
void |
supportsOnlyProductsThatAreInjectionContexts() |
void |
supportsTestedProductClassAnnotationInSuperclasses() |
public void doesNotSupportTestClassesNotAnnotatedWithTestedProductClass()
throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorpublic void supportsOnlyProductsThatAreInjectionContexts()
throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorpublic void createsTestClassAndInjectsProductImplementingInjectionContext()
throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorpublic void supportsTestedProductClassAnnotationInSuperclasses()
throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorCopyright © 2015 Atlassian. All rights reserved.