public void TestCoreStandardFromIdentifier() { StandardIdentifier identifier = StandardIdentifierTranslation.StandardStringToStandardIdentifier(elaStandardString); var coreStandardsRowCcss = ImmutableArray.Create( CoreStandardsRow.Create( subjectCode: "ELA", key: "3-l|4-6|6.SL.2", name: "", description: "CCSS Desc", levelType: "CCSS", identifier: identifier)); var coreStandardsRowTarget = ImmutableArray.Create( CoreStandardsRow.Create( subjectCode: "ELA", key: "4-6|3-6", name: "", description: "Target Desc", levelType: "Target", identifier: identifier)); CoreStandardsXml coreStandardsXml = new CoreStandardsXml(coreStandardsRowTarget, coreStandardsRowCcss); CoreStandards core = StandardIdentifierTranslation.CoreStandardFromIdentifier(coreStandardsXml, identifier); Assert.NotNull(core); Assert.Equal(core.CommonCoreStandardsId, "6.SL.2"); Assert.Equal(core.TargetId, "4-6"); Assert.Equal(core.TargetIdLabel, "4"); Assert.Equal(core.TargetDescription, "Target Desc"); Assert.Equal(core.CommonCoreStandardsDescription, "CCSS Desc"); }