( Interface interf )
| 4 | public InterfaceConsumer() { } |
| 5 | |
| 6 | public boolean consumeInterface( Interface interf ) { |
| 7 | String s = interf.getString(); |
| 8 | Integer i = interf.getInteger(); |
| 9 | int i2 = interf.getPrimitiveInt(); |
| 10 | boolean b = interf.getPrimitiveBool(); |
| 11 | assertTrue( interf.getNull() == null ); |
| 12 | return true; |
| 13 | } |
| 14 | public static void assertTrue( boolean cond ) { |
| 15 | if ( !cond ) throw new RuntimeException("assert failed.."); |
| 16 | } |
nothing calls this directly
no test coverage detected