@Test
public void validateSimpleTaintFrame() {

    TaintFrame frame = new TaintFrame(0);
    frame.pushValue(new Taint(Taint.State.TAINTED));
    frame.pushValue(new Taint(Taint.State.UNKNOWN));
    frame.pushValue(new Taint(Taint.State.NULL));
    frame.pushValue(new Taint(Taint.State.SAFE));
    String debugOutput = frame.toString();
    System.out.println(debugOutput);
    assertTrue(debugOutput.contains("0. SAFE {S}"));
    assertTrue(debugOutput.contains("1. NULL {N}"));
    assertTrue(debugOutput.contains("2. UNKNOWN {U}"));
    assertTrue(debugOutput.contains("3. TAINTED {T}"));
}