public void LoadByGuid() { IPlatformRepository iPlatformDAL = new PlatformRepository(this.Client, this.Database); IEnumerable <Platform> platforms = iPlatformDAL.FindAll(); foreach (Platform platform in platforms) { Platform platformToCheck = iPlatformDAL.Find(platform.Guid); Assert.IsTrue(platformToCheck.Id > 0); Assert.IsNotNull(platformToCheck.Name); } }
public void LoadByGuid() { IPlatformRepository iPlatformDAL = new PlatformRepository(this.Client, this.Database); IEnumerable<Platform> platforms = iPlatformDAL.FindAll(); foreach (Platform platform in platforms) { Platform platformToCheck = iPlatformDAL.Find(platform.Guid); Assert.IsTrue(platformToCheck.Id > 0); Assert.IsNotNull(platformToCheck.Name); } }
public void GetPlatformSDK() { IPlatformRepository iPlatformDAL = new PlatformRepository(this.Client, this.Database); IEnumerable <Platform> platforms = iPlatformDAL.FindAll(); foreach (Platform platform in platforms) { Platform platformSDK = iPlatformDAL.Find(platform.Id); Assert.IsTrue(platformSDK.Id > 0); Assert.IsNotNull(platformSDK.Name); Assert.IsNotNull(platformSDK.Url); Assert.IsNotNull(platformSDK.UrlTitle); } }
public void GetPlatformSDK() { IPlatformRepository iPlatformDAL = new PlatformRepository(this.Client, this.Database); IEnumerable<Platform> platforms = iPlatformDAL.FindAll(); foreach (Platform platform in platforms) { Platform platformSDK = iPlatformDAL.Find(platform.Id); Assert.IsTrue(platformSDK.Id > 0); Assert.IsNotNull(platformSDK.Name); Assert.IsNotNull(platformSDK.Url); Assert.IsNotNull(platformSDK.UrlTitle); } }