public void GatherDoesNotTransitionToNewState() { var sut = new GatheredDataFile("201306158F341A2D6FD7416B87073A0132DD51AE.chk.20150627111406.gathered"); var messageBodyMock = new Mock <MessageBody>(sut); messageBodyMock.SetupAllProperties(); sut.Gather(messageBodyMock.Object, Path.GetTempPath()); Assert.That(messageBodyMock.Object.DataFile, Is.SameAs(sut)); }