String ouputPE = NAMESPACE + "FahrenheitDegrees";
String inputPE = NAMESPACE + "CelsiusDegrees";
BlockReader input1 = new LiteralBlockReader(new SimpleLiteral(ouputPE));
BlockReader input2 = new LiteralBlockReader(new SimpleLiteral(inputPE));
MockOutputPipe output = new MockOutputPipe(new Object[] {});
mActivity.addInput("ontologyElement1", input1);
mActivity.addInput("ontologyElement2", input2);
mActivity.addOutput("inferenceResults", output);
mActivity.process();
System.out.println(output.getActualBlocks());
if (output.getActualBlocks().size() > 0) {
Assert.assertTrue(output.getActualBlocks().contains("convertible"));
} else {
Assert.assertFalse(true);
}
}