@Test
public void testRequestOpen() throws HttpDataSourceException {

  mockResponseStartSuccess();
  assertThat(dataSourceUnderTest.open(testDataSpec)).isEqualTo(TEST_CONTENT_LENGTH);
  verify(mockTransferListener)
      .onTransferStart(dataSourceUnderTest, testDataSpec, /* isNetwork= */ true);
}