	@Test
	public void shouldUseSuppliedValueFormatter() {


		Auditor auditor = new Auditor();

		// uses a BooleanFormatter that generates 0 / 1 instead of false / true.
		SimpleBooleanFlagEntity entity = new SimpleBooleanFlagEntity("uuid-1", false);

		ValueContainer annotationChanges = auditor.inspectEntity(entity);
		String formatted = annotationChanges.getAttributes().get(SimpleBooleanFlagEntity.FLAG);

		// make sure that this Formatter is actually used
		assertThat(formatted, is(equalTo(new DemoBooleanFormatter().format(false))));
	}