	@Test
	public void testDeser() throws Exception {

		
		SetParameterValuesCommand command1 = ser.fromJson(new InputStreamReader(this.getClass().getResourceAsStream("command-setparametervalues-1.json")), SetParameterValuesCommand.class);
		assertEquals(CommandType.SetParameterValues, command1.getCommand());
		assertNotNull(command1.getValues());
		assertEquals(2, command1.getValues().size());
		assertEquals(true, command1.getValues().get("ms2.lightsensorenabled"));
		assertEquals("celcius", command1.getValues().get("ms2.temperaturescale"));
	}