void (@NotNull ArrangementMatchCondition condition) { Element element = mySerializer.serialize(new StdArrangementEntryMatcher(condition)); assertNotNull(String.format("Can't serialize match condition '%s'", condition), element); StdArrangementEntryMatcher matcher = mySerializer.deserialize(element); assertNotNull(matcher); assertEquals(condition, matcher.getCondition()); }