RsJsCore extends AbstractRsJs { String getJsCore() { return Constants.SLASH+context.getPath(); }    }
@Test public void testGetJsCore() { System.out.println("getJsCore"); when(context.getPath()).thenReturn("core.js").thenReturn("core.min.js"); String result = instance.getJsCore(); assertThat(result).isEqualTo(Constants.SLASH + Constants.CORE + Constants.JS); result = instance.getJsCore(); assertThat(result).isEqualTo(Constants.SLASH + Constants.CORE_MIN + Constants.JS); }