public void ShouldReturnAnOfficeSync() { var officeJson = StubDataLoader.LoadJsonFile("office.json"); IOfficeService service = new OfficeService(new MoxiWorksClient(new StubContextClient(officeJson))); var response = service.GetOffice("some_moxiworks_office_id", "some_moxiworks_company_id"); Assert.IsType <Office>(response.Item); Assert.True(response.Item.CreatedTimestamp.HasValue); Assert.False(response.Item.DeactivatedTimestamp.HasValue); }