title: JUnit and Cobertura
body: <p>I've written a test case for a class that implements an interface. Basically I am testing the overridden methods and test passes. On the Cobertura report <code>public class ROSConsumerConnectorRequest implements IConnectorRequest&lt;ROSNotificationRequest&gt;</code> shows red. </p>
  
  <p>Class under test:</p>
  
  <pre><code>public class ROSConsumerConnectorRequest implements IConnectorRequest&lt;ROSNotificationRequest&gt; 
  </code></pre>
  
  <p>JUnit test:</p>
  
  <pre><code>@Test
  public void test() {
      ROSConsumerConnectorRequest req = new ROSConsumerConnectorRequest();
      ROSNotificationRecipient recipient = new ROSNotificationRecipient();
      ROSNotificationRequest request = new ROSNotificationRequest();
      req.setRecipient( recipient );
      req.setRequest( request );
  
      assertTrue( req instanceof IConnectorRequest );
      assertEquals( request, req.getRequest() );
      assertEquals( recipient, req.getRecipient() );
  }
  </code></pre>
  
  <p>Only the above mentioned line shows in a red. How can I cover that line?</p>
  
  <p>Thanks</p>