@SuppressWarnings("serial")
@Test</BUG>
public void canUseAnnotations() throws Exception {
String id = "563667f82249254c42530fe3";
ExposableFriend external = new ExposableFriend(id, "Robert");
<BUG>Mapper mapper = jacksonMapper()

.registerModule(new SimpleModule() {{
this.setMixInAnnotation(ExternalType.class, ExternalType.ExternalTypeMixin.class);
}})
.build();</BUG>
BsonDocument document = mapper.getMarshaller().marshall(external);

@SuppressWarnings("serial")
@Test
public void canUseAnnotations() throws Exception {
String id = "563667f82249254c42530fe3";
ExposableFriend external = new ExposableFriend(id, "Robert");
Mapper mapper = jacksonMapper().build();
BsonDocument document = mapper.getMarshaller().marshall(external);
