Ignore:
Timestamp:
08/22/13 16:28:29 (11 years ago)
Author:
olhsha
Message:

replacing setURI(externa_id) with setURI(serviceURI_externalId). The implementation idea has been tested on getAnnotation method. Works. Now it must be implemented for get-method of the other resources for the other resources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/test/java/eu/dasish/annotation/backend/rest/AnnotationsTest.java

    r3455 r3461  
    6868        mockery.checking(new Expectations() {
    6969            {
     70                oneOf(daoDispatcher).setServiceURI(with(any(String.class)));
     71                will(doAll());
     72               
    7073                oneOf(daoDispatcher).getAnnotationInternalIdentifier(with(aNonNull(UUID.class)));               
    7174                will(returnValue(annotationID));               
     
    148151        mockery.checking(new Expectations() {
    149152            {
     153                oneOf(daoDispatcher).setServiceURI(with(any(String.class)));
     154                will(doAll());
     155               
    150156                oneOf(daoDispatcher).getUserInternalIdentifier(with(any(UUID.class)));
    151157                will(returnValue(ownerID));
Note: See TracChangeset for help on using the changeset viewer.