test_class.file: core/src/test/java/de/lise/terradoc/core/state/StateReaderTest.java
test_class.identifier: StateReaderTest
test_case.body: @Test
      public void readShouldParseStateJsonCorrectly() throws IOException {
          // Arrange
          StateReader reader = new StateReader();
          TerraformState terraformState;
  
          // Act
          try(InputStream in = StateReader.class.getClassLoader().getResourceAsStream("test-state.json")) {
              terraformState = reader.read(in);
          }
  
          // Assert
          assertThat(terraformState).isNotNull();
          assertThat(terraformState.getValues()).isNotNull();
          assertThat(terraformState.getValues().getRootModule()).isNotNull();
          assertThat(terraformState.getValues().getRootModule().getAddress()).isNull();
      }
test_case.class_method_signature: StateReaderTest.readShouldParseStateJsonCorrectly()
test_case.full_signature: @Test public void readShouldParseStateJsonCorrectly()
test_case.identifier: readShouldParseStateJsonCorrectly
test_case.invocations: getResourceAsStream getClassLoader read isNotNull assertThat isNotNull assertThat getValues isNotNull assertThat getRootModule getValues isNull assertThat getAddress getRootModule getValues
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void readShouldParseStateJsonCorrectly()
focal_class.declarator: gson
focal_class.modifier: private final
focal_class.original_string: private final Gson gson;
focal_class.type: Gson
focal_class.var_name: gson
focal_class.declarator: DEFAULT_CHARSET = StandardCharsets.UTF_8
focal_class.modifier: private static final
focal_class.original_string: private static final Charset DEFAULT_CHARSET = StandardCharsets.UTF_8;
focal_class.type: Charset
focal_class.var_name: DEFAULT_CHARSET
focal_class.file: core/src/main/java/de/lise/terradoc/core/state/StateReader.java
focal_class.identifier: StateReader
focal_class.class_method_signature: StateReader.StateReader()
focal_class.full_signature: public  StateReader()
focal_class.identifier: StateReader
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  StateReader()
focal_class.class_method_signature: StateReader.read(InputStream in)
focal_class.full_signature: public TerraformState read(InputStream in)
focal_class.identifier: read
focal_class.modifiers: public
focal_class.parameters: (InputStream in)
focal_class.return: TerraformState
focal_class.signature: TerraformState read(InputStream in)
focal_class.class_method_signature: StateReader.read(Reader reader)
focal_class.full_signature: public TerraformState read(Reader reader)
focal_class.identifier: read
focal_class.modifiers: public
focal_class.parameters: (Reader reader)
focal_class.return: TerraformState
focal_class.signature: TerraformState read(Reader reader)
focal_method.body: public TerraformState read(InputStream in) throws IOException {
          try(InputStreamReader reader = new InputStreamReader(in, DEFAULT_CHARSET)){
              return read(reader);
          }
      }
focal_method.class_method_signature: StateReader.read(InputStream in)
focal_method.full_signature: public TerraformState read(InputStream in)
focal_method.identifier: read
focal_method.invocations: read
focal_method.modifiers: public
focal_method.parameters: (InputStream in)
focal_method.return: TerraformState
focal_method.signature: TerraformState read(InputStream in)