@Override
		public Class<?> loadClass(String name) throws ClassNotFoundException {

			// no mater what, do not allow certain classes to be loaded by this
			// class loader. change this as you see fit (and are able to).
			if (name.startsWith("java.")) {
				return super.loadClass(name);
			} else if (name.startsWith("javax.")) {
				return super.loadClass(name);
			} else if (name.startsWith("sun.")) {
				return super.loadClass(name);
			} else if (name.startsWith("org.junit.")) {
				return super.loadClass(name);
			} else if (name.startsWith("org.mockito.")) {
				return super.loadClass(name);
			} else if (name.startsWith("com.objectpartners.buesing.premock.")) {
				return super.loadClass(name);
			} else {
				if (classes.contains(name)) {
					// only load the classes specified with the class loader,
					// otherwise leave it up to the parent.
					return findClass(name);
				} else {
					return super.loadClass(name);
				}
			}
		}