### Question:
BaseFragmenter extends BasePlugin implements Fragmenter { @Override public FragmentStats getFragmentStats() throws Exception { throw new UnsupportedOperationException("Operation getFragmentStats is not supported"); }  @Override List<Fragment> getFragments(); @Override FragmentStats getFragmentStats();  }### Answer:
@Test public void testGetFragmentStatsIsUnsupported() throws Exception { expectedException.expect(UnsupportedOperationException.class); expectedException.expectMessage("Operation getFragmentStats is not supported"); new BaseFragmenter().getFragmentStats(); }