It seems that you are trying to call a method with a Map parameter. So, to call with an empty person name the right approach should be
HashMap<String, String> options = new HashMap<String, String>();
options.put("name", null);
Person person = sample.searchPerson(options);
Or you can do it like this
HashMap<String, String> options = new HashMap<String, String>();
Person person = sample.searchPerson(options);
Using
Person person = sample.searchPerson(null);
Could get you a null pointer exception. It all depends on the implementation of searchPerson() method.