@Test(expected = IllegalArgumentException.class) public void null_builder_throws_exception() { this.behaviour.transform(null); }
@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);  }