This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe("a servlet") { | |
val servlet = new MyServlet() | |
it("should have metadata") { | |
val allRoutesAnnotated = servlet.routes.methodRoutes.values.flatten.forall(x => { | |
x.metadata.contains(Symbols.Operation) | |
}) | |
allRoutesAnnotated should be(true) | |
} |