example to mock by doc name