@Test @DisplayName("getServletMappings()が/を返す") public void getServletMappingsTest() { String[] servletMappings = mvcInitializer.getServletMappings(); assertArrayEquals(new String[]{"/"}, servletMappings, "servlet mapping not correct"); }
protected String[] getServletMappings() { return new String[]{ "/" }; }
MvcInitializer { protected String[] getServletMappings() { return new String[]{ "/" }; } }
MvcInitializer { protected String[] getServletMappings() { return new String[]{ "/" }; }  }
MvcInitializer { protected String[] getServletMappings() { return new String[]{ "/" }; }   }
MvcInitializer { protected String[] getServletMappings() { return new String[]{ "/" }; }    }