A mock library for testing apache sling code