@@ -0,0 +1,2280 @@
+/*%0A * -%5C-%5C-%0A * Spotify Apollo API Implementations%0A * --%0A * Copyright (C) 2013 - 2016 Spotify AB%0A * --%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A * %0A *      http://www.apache.org/licenses/LICENSE-2.0%0A * %0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A * -/-/-%0A */%0Apackage com.spotify.apollo.request;%0A%0Aimport com.spotify.apollo.Response;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.mockito.Mock;%0Aimport org.mockito.MockitoAnnotations;%0A%0Aimport static org.mockito.Mockito.verify;%0A%0Apublic class ForwardingOngoingRequestTest %7B%0A  private ForwardingOngoingRequest forwardingOngoingRequest;%0A%0A  @Mock%0A  private OngoingRequest delegate;%0A%0A  @Before%0A  public void setUp() throws Exception %7B%0A    MockitoAnnotations.initMocks(this);%0A%0A    forwardingOngoingRequest = new ForwardingOngoingRequest(delegate) %7B%0A    %7D;%0A  %7D%0A%0A  @Test%0A  public void shouldForwardRequestMethod() throws Exception %7B%0A    forwardingOngoingRequest.request();%0A%0A    verify(delegate).request();%0A  %7D%0A%0A  @Test%0A  public void shouldForwardDrop() throws Exception %7B%0A    forwardingOngoingRequest.drop();%0A%0A    verify(delegate).drop();%0A  %7D%0A%0A  @Test%0A  public void shouldForwardReply() throws Exception %7B%0A    forwardingOngoingRequest.reply(Response.ok());%0A%0A    verify(delegate).reply(Response.ok());%0A  %7D%0A%0A  @Test%0A  public void shouldForwardMetadata() throws Exception %7B%0A    forwardingOngoingRequest.metadata();%0A%0A    verify(delegate).metadata();%0A  %7D%0A%0A  @Test%0A  public void shouldForwardArrivalTime() throws Exception %7B%0A    forwardingOngoingRequest.arrivalTimeNanos();%0A%0A    verify(delegate).arrivalTimeNanos();%0A  %7D%0A%0A  @Test%0A  public void shouldForwardIsExpired() throws Exception %7B%0A    forwardingOngoingRequest.isExpired();%0A%0A    verify(delegate).isExpired();%0A  %7D%0A%0A  @Test%0A  public void shouldForwardServerInfo() throws Exception %7B%0A    forwardingOngoingRequest.serverInfo();%0A%0A    verify(delegate).serverInfo();%0A  %7D%0A%7D

add tests for ForwardingOngoingRequest