@Test
    void buildThrowsWithNoSmithyTrace() {
        Assertions.assertThrows(IllegalStateException.class, () -> {
            TraceFile traceFile = parseTraceFileFromFile(getClass().getResource("trace-file.json").toURI());
            //set smithyTrace to null before writing and parsing again
            traceFile.toBuilder().smithyTrace(null).build();
        });
    }
Incorrect build tests:
Test null values for all required variables of TraceFile
smithy-codegen-core/src/test/java/software/amazon/smithy/codegen/core/trace/TraceFileTest.java