public void TestTranslatorReturnsValidTypeWhenFilenameIsCamelCase() { string testString = "aCamelCaseFileName"; IFileNameTranslator testSubject = new FilenameTranslator(); var translatedType = testSubject.Decode(testString); Assert.AreEqual(typeof(DefaultHeader), translatedType.GetType()); }
public void TestTranslatorReturnsAbilityHeader() { string testString = "AbilityCamelCaseFileName"; IFileNameTranslator testSubject = new FilenameTranslator(); var translatedType = testSubject.Decode(testString); Assert.AreEqual(typeof(AbilityHeader), translatedType.GetType()); }
public void TestTranslatorReturnsDefaultHeader() { string testString = "x_someotherstuff"; IFileNameTranslator testSubject = new FilenameTranslator(); var translatedType = testSubject.Decode(testString); Assert.AreEqual(typeof(DefaultHeader), translatedType.GetType()); }