public void GetClassId_NoIdProperty_ThrowsException() { //Assign InstanceContextFixtureNS.TestClass2 testClass = new Glass.Sitecore.Mapper.Tests.InstanceContextFixtureNS.TestClass2(); //Act var result = _service.InstanceContext.GetClassId(typeof(InstanceContextFixtureNS.TestClass2), testClass); //Assert //no assertion, expections should be thrown }
public void GetClassId_NoIdProperty_ThrowsException() { //Assign InstanceContextFixtureNS.TestClass2 testClass = new Glass.Sitecore.Mapper.Tests.InstanceContextFixtureNS.TestClass2(); //Act var result = _service.InstanceContext.GetClassId(typeof(InstanceContextFixtureNS.TestClass2),testClass); //Assert //no assertion, expections should be thrown }