@Test public void testGetDate() { String date=requestGenerator.getDate(); assertTrue (date.matches("\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}-\\d{4}")); }
public String getDate() { final SimpleDateFormat sdf = new SimpleDateFormat( "yyyy-MM-dd'T'HH:mm:ssZ"); return sdf.format(new Date()); }
RequestGenerator { public String getDate() { final SimpleDateFormat sdf = new SimpleDateFormat( "yyyy-MM-dd'T'HH:mm:ssZ"); return sdf.format(new Date()); } }
RequestGenerator { public String getDate() { final SimpleDateFormat sdf = new SimpleDateFormat( "yyyy-MM-dd'T'HH:mm:ssZ"); return sdf.format(new Date()); }  }
RequestGenerator { public String getDate() { final SimpleDateFormat sdf = new SimpleDateFormat( "yyyy-MM-dd'T'HH:mm:ssZ"); return sdf.format(new Date()); }  RequestType generateRequest(String recepientSubjectNPI,
			String intermediarySubjectNPI, String purposeOfUse); String generateRequestString(String recepientSubjectNPI,
			String intermediarySubjectNPI, String purposeOfUse); String getDate(); static void main(String[] args); }
RequestGenerator { public String getDate() { final SimpleDateFormat sdf = new SimpleDateFormat( "yyyy-MM-dd'T'HH:mm:ssZ"); return sdf.format(new Date()); }  RequestType generateRequest(String recepientSubjectNPI,
			String intermediarySubjectNPI, String purposeOfUse); String generateRequestString(String recepientSubjectNPI,
			String intermediarySubjectNPI, String purposeOfUse); String getDate(); static void main(String[] args);  }