describe("when statusCode is in mapping", function() {

            it("returns the View mapping to the statusCode", function() {
                expect(ErrorPage.viewFor(errorViewMapping, 404)).toBe(PageNotFoundView);
            });