public async Task DomainGetModelAsyncForwardsCorrectly() { var domain = new TestDomain(); var domainModel = await domain.GetModelAsync(); var domainModelType = typeof(Domain).Assembly.GetType( "Microsoft.Restier.Core.Model.DomainModel"); Assert.True(domainModelType.IsAssignableFrom(domainModel.GetType())); Assert.Same(domain.Model, domainModelType .GetProperty("InnerModel").GetValue(domainModel)); }