public void setUp() throws Exception {
super.setUp();
connectionMock = new XMLRepositoryConnectionMock(
"connectionMock", expectations);
final LocalRepository localRepositoryMock =
new LocalRepositoryMock("localRepositoryMock", expectations);
connectionMock.expects.getLocalRepository().returns(localRepositoryMock).any();
headers = HttpFactory.getDefaultInstance().createHTTPHeaders();
accessor = new MockDeviceRepositoryAccessor(connectionMock.getLocalRepository()) {
/**
* Helper method. If the deviceName supplied is equal to one of the