A mock generator for D language