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