@Test
	public void testUpdateRunInfo()
	{
		RunInfo message = new RunInfo(new String[] {
			"$B", "5", "Friday free practice"
		});

		Race race = new Race();

		race.addPropertyChangeListener(new PropertyChangeListener() {

			@Override
			public void propertyChange(PropertyChangeEvent evt)
			{
				if ("name".equals(evt.getPropertyName())) {
					nameFired = true;
					assertEquals("Friday free practice", evt.getNewValue());
				}

				if ("id".equals(evt.getPropertyName())) {
					idFired = true;
					assertEquals(5, evt.getNewValue());
				}
			}
		});

		race.update(message);

		assertTrue(nameFired);
		assertTrue(idFired);
	}