Beispiel #1
0
        public void ChangeName_WithValidData_ShouldChangeName()
        {
            // Arrange
            string newName = commonFixture.GetNewFixture().Create <string>();
            IStore store   = storeFixture.GetStore();

            // Act
            store.ChangeName(newName);

            // Assert
            using (new AssertionScope())
            {
                store.Name.Should().Be(newName);
            }
        }