PRPAIN201305UV02EventDescriptionBuilder extends TargetEventDescriptionBuilder { @Override public void setArguments(Object... arguments) { extractAssertion(arguments); extractTarget(arguments); }  @Override void buildTimeStamp(); @Override void buildStatuses(); @Override void buildPayloadTypes(); @Override void buildPayloadSizes(); @Override void buildErrorCodes(); @Override void setArguments(Object... arguments); @Override void setReturnValue(Object returnValue);  }
@Test public void handlesAssertions() { assertTrue(AssertionEventDescriptionBuilder.class .isAssignableFrom(PRPAIN201305UV02EventDescriptionBuilder.class)); PRPAIN201305UV02EventDescriptionBuilder builder = new PRPAIN201305UV02EventDescriptionBuilder(); AssertionType assertion = mock(AssertionType.class); builder.setArguments(new Object[] { assertion }); assertTrue(builder.getAssertion().isPresent()); }