### Question:
FileSystemLineageWriter implements ILineageWriter { protected boolean isWindows() { return getOsName().contains( "win" ); } FileSystemLineageWriter(); @Override void outputExecutionProfile( LineageHolder holder ); @Override void outputLineageGraph( LineageHolder holder ); IGraphWriter getGraphWriter(); void setGraphWriter( IGraphWriter graphWriter ); String getOutputFolder(); void setOutputFolder( String outputFolder ); @Override String getOutputStrategy(); @Override void setOutputStrategy( String strategy ); @Override void cleanOutput( LineageHolder holder ); static final String DEFAULT_OUTPUT_FOLDER; }### Answer:
@Test public void testIsWindows() throws Exception { String os = System.getProperty( "os.name" ).toLowerCase(); boolean expected = os.contains( "win" ); assertEquals( expected, writer.isWindows() ); }