@Override protected FjCustomRuntimeModuleForTesting createFjCustomRuntimeModule() { return new FjCustomRuntimeModuleForTesting(fjTypeSystemClass()) { @Override public Class<? extends AbstractDeclarativeValidator> bindAbstractDeclarativeValidator() { return CustomFjTypeSystemValidator.class; } @SuppressWarnings("unused") public java.lang.Class<? extends FjExpectedTraces> bindFjExpectedTraces() { return FjActualExpectedTraces.class; } }; }
@Override protected FjCustomRuntimeModuleForTesting createFjCustomRuntimeModule() { return new FjCustomRuntimeModuleForTesting(fjTypeSystemClass()) { @Override public Class<? extends AbstractDeclarativeValidator> bindAbstractDeclarativeValidator() { return CustomFjTypeSystemValidator.class; } @SuppressWarnings("unused") public java.lang.Class<? extends FjExpectedTraces> bindFjExpectedTraces() { return FjSepExpectedTraces.class; } }; }
@Override protected FjCustomRuntimeModuleForTesting createFjCustomRuntimeModule() { return new FjCustomRuntimeModuleForTesting(fjTypeSystemClass()) { @Override public Class<? extends AbstractDeclarativeValidator> bindAbstractDeclarativeValidator() { return CustomFjTypeSystemValidator.class; } @SuppressWarnings("unused") public java.lang.Class<? extends FjExpectedTraces> bindFjExpectedTraces() { return FjAltExpectedTraces.class; } }; }
@Override protected FjCustomRuntimeModuleForTesting createFjCustomRuntimeModule() { return new FjCustomRuntimeModuleForTesting(fjTypeSystemClass()) { @Override public Class<? extends AbstractDeclarativeValidator> bindAbstractDeclarativeValidator() { return FjFirstTypeSystemValidator.class; } }; }
@Override @Before public void setUp() throws Exception { super.setUp(); with(fjCustomStandaloneSetupClass()); tester = new ValidatorTester<AbstractDeclarativeValidator>( get(AbstractDeclarativeValidator.class), getInjector()); expectedTraces = get(FjExpectedTraces.class); }
protected TypeReference getDefaultValidatorSuperClass() { return new TypeReference(AbstractDeclarativeValidator.class); }
public java.lang.Class<? extends AbstractDeclarativeValidator> bindAbstractDeclarativeValidator() { return NullTestValidator.class; }