A mock Java library