StringWriter logWriter = new StringWriter();
PrintWriter writer = new PrintWriter(logWriter);
LoggingInInterceptor spy = new LoggingInInterceptor(writer);
client.getInInterceptors().add(spy);
Names n = act.splitName("Hello There");
assertEquals("Hello", n.getFirst());
assertTrue(logWriter.toString().contains("BeepBeep:"));
}