public void GivenMoodAnalyzeClassName_ShouldReturnMoodAnalyseObject() { //Arrange string message = null; object expected = new MoodAnalyze(message); //Act object obj = MoodAnalyserFactory.CreateMoodAnalyserObject("MoodAnalyzer.MoodAnalyze", "MoodAnalyze"); //Assert expected.Equals(obj); }
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()); }