- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {ArrayList a =
new ArrayList<String>()
new ArrayList()
new ArrayList<Object>()
- Smart code suggestions by Codota
}
public static <T extends TestedProduct<?>> InjectingTestRule forTestClass(Class<T> productClass) { return new ClassInjectionRule<T>(memoize(fromFactory(productClass))); }
public static <T extends TestedProduct<?>> TestRule forTest(Object testInstance, Class<T> testedProductClass) { return new InstanceInjectionRules.InstanceStandaloneInjectionRule<T>(testInstance, memoize(fromFactory(testedProductClass))); }