protected GetVehiclesSuccessTestsBase(ITestOutputHelper output, bool useCustomBaseUri) : base(output, useCustomBaseUri) { // Arrange _expected = Fixture.Create <ResponseDataWrapper <IReadOnlyList <Vehicle> > >(); Handler.SetResponseContent(_expected); _expectedRequestUri = new Uri(BaseUri, "api/1/vehicles"); }
protected GetDriveStateSuccessTestsBase(ITestOutputHelper output, bool useCustomBaseUri) : base(output, useCustomBaseUri) { // Arrange _expected = Fixture.Create <ResponseDataWrapper <DriveState> >(); _vehicleId = Fixture.Create <long>(); Handler.SetResponseContent(_expected); _expectedRequestUri = new Uri(BaseUri, $"api/1/vehicles/{_vehicleId}/data_request/drive_state"); }