context.initialisePage(
volantisMock,
requestContextMock,
new MarinerRequestContextMock("enclosingRequestContext", expectations),
new MarinerURL(),
new InternalRequestHeaders());
// To make sure that page initialization succeeded,
// we call it again and expect IllegalStateException
try {
context.initialisePage(null, null, null, null, null);