public void YourMethodName() { //Arrange var f = new UnitTestMethods(); //Act var actual = f.Fact1(); //Assert Assert.Equal("Surf's Up!", actual); }