public void should_add_test_node_as_child_and_set_test_name_to_unknown_if_test_name_is_null() {
final TestStub test = new TestStub(null);
final XmlNode newNode = mockXmlNode();
new EasyMockTemplate(targetNode) {
@Override protected void expectations() {
XmlAttributes attributes = attributes(name(ATTR_NAME).value("unknown"),
name(ATTR_CLASSNAME).value(TestStub.class.getName()));
expect(targetNode.addNewNode(TESTCASE, attributes)).andReturn(newNode);
}
@Override protected void codeToTest() {