new MarinerPageContextMock("MarinerPageContextMock", expectations);
marinerPageContextMock.expects.getAssetResolver().returns(
assetResolverMock).any();
marinerPageContextMock.expects.getProtocol().returns(protocolMock).any();
final RuntimePolicyReferenceMock runtimePolicyReferenceMock1 =
new RuntimePolicyReferenceMock("RuntimePolicyReferenceMock1",
expectations);
runtimePolicyReferenceMock1.expects.getName().returns("name1").any();
final RuntimePolicyReferenceMock runtimePolicyReferenceMock2 =
new RuntimePolicyReferenceMock("RuntimePolicyReferenceMock2",
expectations);
runtimePolicyReferenceMock2.expects.getName().returns("name2").any();
final RuntimePolicyReferenceMock runtimePolicyReferenceMock3 =
new RuntimePolicyReferenceMock("RuntimePolicyReferenceMock3",
expectations);
runtimePolicyReferenceMock3.expects.getName().returns("name3").any();
final RuntimePolicyReferenceMock runtimePolicyReferenceMock4 =
new RuntimePolicyReferenceMock("RuntimePolicyReferenceMock4",
expectations);
runtimePolicyReferenceMock4.expects.getName().returns("name4").any();
final ScriptLibraryManager slm = new ScriptLibraryManager(protocolMock);
final VariantMock variantMock =