@Test
public void dropRoutine() throws Exception {
AISBuilder builder = new AISBuilder();
builder.routine("drop", "f", "javascript", Routine.CallingConvention.SCRIPT_FUNCTION_JSON);
builder.routineDefinition("drop", "f", "function f() { return 3; }");
builder.routine("keep", "p", "javascript", Routine.CallingConvention.SCRIPT_FUNCTION_JSON);
builder.routineDefinition("keep", "p", "function f() { return 8; }");
ddl().createRoutine(session(), builder.akibanInformationSchema().getRoutine("drop", "f"), true);
ddl().createRoutine(session(), builder.akibanInformationSchema().getRoutine("keep", "p"), true);
expectRoutines("drop", "f");
expectRoutines("keep", "p");