public void PostDeviation_should_add_a_deviation_to_the_repository() { // Arrange // Act _controllerUndertest.PostDeviation(new[] { TestData.BuildTestDeviation(TestData.TEST_REPORTER_NAME) }); // Assert Deviation deviationFromDb = _db.Deviations.FindByReporter(TestData.TEST_REPORTER_NAME); deviationFromDb.Should().Not.Be.Null(); deviationFromDb.Reporter.Should().Equal(TestData.TEST_REPORTER_NAME); }