public void TestMethod1() { // Arrange var source = "SonicScrewderiver"; var expected = "Sonic Screwdriver"; var handler = new StringHandler(); // Act var actual = handler.InsertSpaces(source); // Assert Assert.AreEqual(expected, actual); }
public void StringHandlerTest() { //arrange var source = "ElPepe"; var expected = "El Pepe"; //act var actual = StringHandler.InsertSpaces(source); //assert Assert.AreEqual(expected, actual); }