StateObserver so = new StateObserver(soInfo);
StateObserverInfo newSoInfo = new StateObserverInfo(soPine, Type.INTEGER, Expr.EMPTY);
main.doUpdateStateObserver(so, newSoInfo);
assertTrue(so.name().equals(soPine));
assertTrue(so.type().equals(Type.INTEGER));
assertTrue(so.invariant().equals(Expr.EMPTY));
}
/*
* The iffy pine is on the table.
* Wait, a whole iffy pine cannot be on a table.