public void YourMethodName() { //Arrange var subject = new UnitTestMethods(); //Act var actual = subject.Class(); //Assert Assert.Equal("TrueCoders", actual); }