public void CanPostApiEntity() { var apiEntity = new ApiSample { Id = Guid.NewGuid() }; var sampleController = new SampleController(this.service); sampleController.PostAsync(apiEntity).Wait(); var readedEtity = this.service.ReadAsync(apiEntity.Id).Result; Assert.IsTrue(ObjectsComparer.AreEqual(apiEntity, readedEtity)); }