private CompositeKeyTest CreateAndRetrieveTestItem()
        {
            var request = GetTestObject();
            var createTestItemResponse = GetController().Post(request);

            return(ApiControllerTestHelper.GetContentAsync <CompositeKeyTest>(createTestItemResponse));
        }
        private Account CreateAndRetrieveTestItem()
        {
            var request = GetTestAccount();
            var createTestItemResponse = GetController().Post(request);

            return(ApiControllerTestHelper.GetContentAsync <Account>(createTestItemResponse));
        }
        public void UpdateAccountTest()
        {
            //Given
            var testItem = CreateAndRetrieveTestItem();

            testItem.Value = $"{DateTime.Now.ToFileTime()}updatedTest";

            //When
            var response = GetController().Post(testItem);

            //Then
            var updatedItem = ApiControllerTestHelper.GetContentAsync <CompositeKeyTest>(response);

            EqualityHelper.PropertyValuesAreEqual(updatedItem, testItem);
        }