boolean _equals = Objects.equal(_name, "String");
return Boolean.valueOf(_equals);
}
};
final NamedElement stringType = IterableExtensions.<NamedElement>findFirst(_elements_2, _function_1);
final Attribute firstAttribute = IterableExtensions.<Attribute>head(attributes);
String _name = firstAttribute.getName();
Matcher<String> _is_1 = CoreMatchers.<String>is("name");
Assert.<String>assertThat(_name, _is_1);
Type _type = firstAttribute.getType();
Matcher<NamedElement> _is_2 = CoreMatchers.<NamedElement>is(stringType);
Assert.<Type>assertThat(_type, _is_2);
final Attribute secondAttribute = IterableExtensions.<Attribute>last(attributes);
String _name_1 = secondAttribute.getName();
Matcher<String> _is_3 = CoreMatchers.<String>is("birthdate");
Assert.<String>assertThat(_name_1, _is_3);
Type _type_1 = secondAttribute.getType();
Matcher<NamedElement> _is_4 = CoreMatchers.<NamedElement>is(dateType);
Assert.<Type>assertThat(_type_1, _is_4);
} catch (Throwable _e) {
throw Exceptions.sneakyThrow(_e);
}