AbstractStandardXComponent extends AbstractXIdObject implements XComponent<StandardXClock.StandardTimePhase> { @Override public final void removeBorder( final XBorder border) { LOGGER.trace("begin {}.removeBorder({})", getClass().getSimpleName(), border); validateArg("border", border, isNotNull()); _borders.remove(border); LOGGER.trace("end {}.removeBorder()", getClass().getSimpleName()); } protected  AbstractStandardXComponent(
            final XId id,
            final Set<XId> sourceIds,
            final Set<XId> targetIds); @Override final Set<XId> getSourceIds(); @Override final Set<XId> getTargetIds(); @Override final void addBorder(
            final XBorder border); @Override final void removeBorder(
            final XBorder border); @Override final void update(
            final XTime<StandardTimePhase> time); @Override String toString();  }
@Test(expectedExceptions = IllegalArgumentException.class) public final void removeBorderOnNullThrowsException() { final MockComponent MC = new MockComponent(COMPONENT_ID, null, null); MC.removeBorder(null); }