public void EmotionNameDisplayConverter_Convert_EmptyStringValue() { //Arrange EmotionNameDisplayConverter converter = new EmotionNameDisplayConverter(); //Act object displayName = converter.Convert("", null, null, null); //Assert Assert.AreEqual("unspecified :", displayName as string); }
public void EmotionNameDisplayConverter_Convert_StringValue() { //Arrange EmotionNameDisplayConverter converter = new EmotionNameDisplayConverter(); string value = "Happy"; //Act object displayName = converter.Convert(value, null, null, null); //Assert Assert.AreEqual(value + " :", displayName as string); }