}
public void shouldCopeWithNullArguments() throws Exception {
final PrintStream aStream = new PrintStream(new ByteArrayOutputStream());
Exception exception = runAndCatch(Exception.class, new Block() {
public void run() throws Exception {
new JBehaveFrameworkError(null, null).printStackTrace(aStream);
new JBehaveFrameworkError((String)null).printStackTrace(aStream);
new JBehaveFrameworkError((Throwable)null).printStackTrace(aStream);
}