BitstreamFormat implements Serializable, ReloadableEntity<Integer> { public int getSupportLevel() { return supportLevel; } protected  BitstreamFormat(); final Integer getID(); String getShortDescription(); String getDescription(); void setDescription(String s); String getMIMEType(); void setMIMEType(String s); int getSupportLevel(); boolean isInternal(); void setInternal(boolean b); List<String> getExtensions(); void setExtensions(List<String> exts); void setShortDescription(Context context, String s); void setSupportLevel(int sl); @Override boolean equals(Object other); @Override int hashCode(); @Transient
    static final int UNKNOWN; @Transient
    static final int KNOWN; @Transient
    static final int SUPPORTED; }
@Test public void testGetSupportLevel() throws SQLException { assertTrue("testGetSupportLevel 0", bf.getSupportLevel() >= 0); assertTrue("testGetSupportLevel 1", bf.getSupportLevel() <= 2); assertTrue("testGetSupportLevel 2", bunknown.getSupportLevel() >= 0); assertTrue("testGetSupportLevel 3", bunknown.getSupportLevel() <= 2); List<BitstreamFormat> found = bitstreamFormatService.findAll(context); int i = 0; for(BitstreamFormat b: found) { i++; assertTrue("testGetSupportLevel "+i+" ("+b.getMIMEType()+")", b.getSupportLevel() >= 0); i++; assertTrue("testGetSupportLevel "+i+" ("+b.getMIMEType()+")", b.getSupportLevel() <= 2); } }