Ignore:
Timestamp:
02/10/14 15:26:08 (10 years ago)
Author:
olhsha
Message:

POST/PUT/DELETE methods are tested, debugged, refactored and tested

File:
1 edited

Legend:

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

    r4461 r4491  
    110110                will(returnValue(3));
    111111               
     112                oneOf(mockDbIntegrityService).canRead(3, 2);
     113                will(returnValue(true));
     114               
    112115                oneOf(mockDbIntegrityService).getAnnotationInternalIdentifier(with(any(UUID.class)));               
    113116                will(returnValue(2));
    114                
    115                 oneOf(mockDbIntegrityService).getTypeOfUserAccount(3);
    116                 will(returnValue("developer"));
    117                
    118                 oneOf(mockDbIntegrityService).getAnnotationOwner(2);
    119                 will(returnValue(3)); 
    120117               
    121118                oneOf(mockDbIntegrityService).getAnnotation(2);               
Note: See TracChangeset for help on using the changeset viewer.