### Question:
ContinuumBuildAgentDavSession implements DavSession { public void addReference( Object reference ) { throw new UnsupportedOperationException( "Not supported yet" ); }  void addLockToken( String token ); void addReference( Object reference ); String[] getLockTokens(); void removeLockToken( String token ); void removeReference( Object reference );  }### Answer:
@Test public void testAddReferencesThrowsUnsupportedOperationException() { ContinuumBuildAgentDavSession session = new ContinuumBuildAgentDavSession(); try { session.addReference( new Object() ); fail( "Did not throw UnsupportedOperationException" ); } catch ( UnsupportedOperationException e ) { assertTrue( true ); } }