public void GivenMoodAnalyseClassName_ShouldReturnMoodAnalyseObject() { //Arrange string message = null; object expected = new MoodAnalyze(message); //Act object obj = MoodAnalyzerFactory.CreateMoodAnalyser("MoodAnalyzerProblem.MoodAnalyze", "MoodAnalyze"); //Assert expected.Equals(obj); Assert.AreEqual(expected.GetType(), obj.GetType()); }