GeneratorImplFunction { static boolean isPackageLocalMethodAndTestingRequired(MethodMeta methodMeta, TestingTarget target) { return methodMeta.accessModifier == AccessModifier.PackageLocal && target.isPackageLocalMethodRequired; } private  GeneratorImplFunction();   }
@Test public void isPackageLocalMethodAndTestingRequired_A$MethodMeta$TestingTarget() throws Exception { MethodMeta methodMeta = new MethodMeta(); methodMeta.accessModifier = AccessModifier.PackageLocal; TestingTarget target_ = new TestingTarget(); target_.isPublicMethodRequired = true; boolean actual = GeneratorImplFunction.isPackageLocalMethodAndTestingRequired(methodMeta, target_); boolean expected = true; assertThat(actual, is(equalTo(expected))); }