public void should_have_persisted_the_spec_body() { var app = new MockedApplication(); new SaveSpecBodyCommand().HandleMessage(theInputMessage, app); app.Persistence.Received().SaveSpecification(theInputMessage.id, theInputMessage.spec); }