Permalink
Browse files

Merge pull request #14 from rgordon/master

Add required methods to test case mocks to allow compilation
  • Loading branch information...
2 parents d582800 + 552a1ac commit 550cbf85ed9f368084c4e524679d31575665852f @flbulgarelli flbulgarelli committed Aug 28, 2012
@@ -147,6 +147,13 @@ public InputStream getResource(final URI uri)
public void postResource(final URI uri, final Object resource) {
}
+
+ @Override
+ public void deleteResource(URI uri, Object resource)
+ throws AuthenticationGnipException, TransportGnipException {
+ // TODO Auto-generated method stub
+
+ }
}
class MockExecutorService implements ExecutorService {
@@ -61,6 +61,13 @@ public InputStream getResource(final URI uri) throws AuthenticationGnipException
public void postResource(final URI uri, final Object resource) {
}
+
+ @Override
+ public void deleteResource(URI uri, Object resource)
+ throws AuthenticationGnipException, TransportGnipException {
+ // TODO Auto-generated method stub
+
+ }
};
final GnipFacade f = new DefaultGnipFacade(resources);
final GnipStream stream = f.createStream("acme", "stream", observer);

0 comments on commit 550cbf8

Please sign in to comment.