new ServiceReferenceMock("unauthorizedServiceReferenceMock",
expectations);
// Create a mock ManagedService that is invoked from the
// dispatcher thread.
final ManagedServiceMock unauthorizedManagedServiceMock =
new ManagedServiceMock("unauthorizedManagedServiceMock",
dispatcherExpectations);
final ServiceReferenceMock attackingServiceReferenceMock =
new ServiceReferenceMock("attackingServiceReferenceMock",
expectations);
// Create a mock ManagedService that is invoked from the
// dispatcher thread.
final ManagedServiceMock attackingManagedServiceMock =
new ManagedServiceMock("attackingManagedServiceMock",
dispatcherExpectations);
// =====================================================================
// Set Expectations
// =====================================================================