* @throws IOException
*/
public void testAllInferenceRulesHaveModeldoc() throws ModelLoadException, IOException {
EObject root = ModelLoader.load("test.modeldoc");
ModelDocumentation doc = (ModelDocumentation) root;
StringBuffer buf = new StringBuffer();
int violations = 0;
for (Reference ref : doc.getReferences()) {
if (ref instanceof DroolsPackage) {
DroolsPackage pkg = (DroolsPackage) ref;
// get the count of all @inference tags
// (we need to ignore tags such as @implementation)