@Before
public void setup() throws Exception {
MockitoAnnotations.initMocks(this);
auditRecordsApiRepresentation = new AuditRecordsRepresentation();
AuditRecordCollectionRepresentation collectionRepresentation = new AuditRecordCollectionRepresentation();
collectionRepresentation.setSelf(AUDIT_RECORDS_URL);
auditRecordsApiRepresentation.setAuditRecords(collectionRepresentation);
auditRecordApi = new AuditRecordApiImpl(restConnector, urlProcessor, auditRecordsApiRepresentation, DEFAULT_PAGE_SIZE);
}