TypeRegistry typeRegistry = getTypeRegistry("basic.Basic");
byte[] sc = loadBytesForClass("basic.Basic");
ReloadableType rtype = typeRegistry.addType("basic.Basic", sc);
Class<?> simpleClass = rtype.getClazz();
Result r = runUnguarded(simpleClass, "foo");
r = runUnguarded(simpleClass, "getValue");
assertEquals(5, r.returnValue);
int rc = SpringLoaded.loadNewVersionOfType(rtype.getClazz(), retrieveRename("basic.Basic", "basic.Basic002"));