public void delete()
{
Activity activity = td.newActivity();
activity.setName("Foo");
final DeleteActivityResult deleteActivityResult = new DeleteActivityResult();
Answer<Object> deleteActivityAnswer = new Answer<Object>()
{
@Override
public Object answer(InvocationOnMock invocation)
{