* not depend on the order of the headers in the request.)
*/
public void testNNProfileMultipleOpt() throws RepositoryException {
final DeviceRepositoryAccessorMock accessorMock =
new DeviceRepositoryAccessorMock("accessorMock", expectations);
final DefaultDeviceMock deviceMock1 =
new DefaultDeviceMock("deviceMock1", expectations);
final DefaultDeviceMock deviceMock2a =
new DefaultDeviceMock("deviceMock2a", expectations);
final DefaultDeviceMock deviceMock2b =
new DefaultDeviceMock("deviceMock2b", expectations);
// expectations to return the main device
accessorMock.expects.
retrieveMatchingDeviceName("ua string").returns("device name").any();
accessorMock.expects.getDeviceFallbackChain(