### Question:
DashboardParameters implements DeepCloneable<DashboardParameters> { @XmlTransient public Map<String, String[]> getRawParameters(){ Map<String, String[]> rawParameters = new HashMap<String, String[]>(); if(dashboardParameters != null){ for(ReportParameter currentParameter : dashboardParameters){ rawParameters.put( currentParameter.getName(), currentParameter.getValues().toArray(new String[currentParameter.getValues().size()]) ); } } return rawParameters; } DashboardParameters();  DashboardParameters(List<ReportParameter> dashboardParameters);  DashboardParameters(DashboardParameters other); @XmlElement(name = "dashboardParameter") List<ReportParameter> getDashboardParameters(); DashboardParameters setDashboardParameters(List<ReportParameter> dashboardParameters); @XmlTransient Map<String, String[]> getRawParameters(); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); @Override DashboardParameters deepClone();  }### Answer:
@Test public void testGetRawParameters_full() { DashboardParameters instance = createFullyConfiguredInstance(); Map<String, String[]> expected = new HashMap<String, String[]>(); expected.put("TEST_NAME", new String[]{"TEST_VALUE"}); assertTrue(isMapsEquals(expected, instance.getRawParameters())); }
@Test public void testGetRawParameters_empty() { DashboardParameters instance = createInstanceWithDefaultParameters(); Map<String, String[]> expected = new HashMap<String, String[]>(); assertTrue(isMapsEquals(expected, instance.getRawParameters())); }