public void formatPattern_2_triples() {
BasicPattern basicPattern = new BasicPattern() ;
basicPattern.add(getTriple()) ;
basicPattern.add(getTriple2()) ;
ByteArrayOutputStream os = new ByteArrayOutputStream() ;
IndentedWriter iw = new IndentedWriter(os) ;
SerializationContext sc = new SerializationContext() ;
FmtUtils.formatPattern(iw, basicPattern, sc) ;
iw.close() ;
assertEquals("<n1> <n2> \"l3\" .\n" + "<nb1> <nb2> \"lb3\" .", new String(os.toByteArray())) ;
}