### Question:
PebbleViewEngine extends ViewEngineBase { @Override public boolean supports(String view) { return view.endsWith(".peb"); } @SuppressWarnings("unused") protected  PebbleViewEngine(); @Inject  PebbleViewEngine(@ViewEngineConfig PebbleEngine pebbleEngine); @Override boolean supports(String view); @Override void processView(ViewEngineContext context);  }### Answer:
@Test public void shouldSupportOnlyFilesWithExtensionPeb() { PebbleViewEngine engine = new PebbleViewEngine(null); assertTrue(engine.supports("view.peb")); assertFalse(engine.supports("view.txt")); }