@Test public void returns_instance_of_no_resolution_guard() { SpecimenBuilder transformed = this.behaviour.transform(this.mockSpecimenBuilder); assertTrue(transformed instanceof NoResolutionGuard); }
@Override public SpecimenBuilder transform(SpecimenBuilder builder) { if (builder == null) throw new IllegalArgumentException(); return new NoResolutionGuard(builder, new ThrowingNoResolutionHandler()); }
ThrowOnNoResolutionBehaviour implements FixtureBehaviour { @Override public SpecimenBuilder transform(SpecimenBuilder builder) { if (builder == null) throw new IllegalArgumentException(); return new NoResolutionGuard(builder, new ThrowingNoResolutionHandler()); } }
ThrowOnNoResolutionBehaviour implements FixtureBehaviour { @Override public SpecimenBuilder transform(SpecimenBuilder builder) { if (builder == null) throw new IllegalArgumentException(); return new NoResolutionGuard(builder, new ThrowingNoResolutionHandler()); }  }
ThrowOnNoResolutionBehaviour implements FixtureBehaviour { @Override public SpecimenBuilder transform(SpecimenBuilder builder) { if (builder == null) throw new IllegalArgumentException(); return new NoResolutionGuard(builder, new ThrowingNoResolutionHandler()); }  @Override SpecimenBuilder transform(SpecimenBuilder builder); }
ThrowOnNoResolutionBehaviour implements FixtureBehaviour { @Override public SpecimenBuilder transform(SpecimenBuilder builder) { if (builder == null) throw new IllegalArgumentException(); return new NoResolutionGuard(builder, new ThrowingNoResolutionHandler()); }  @Override SpecimenBuilder transform(SpecimenBuilder builder);  }