### Question:
ConfigurationModel extends AlertSerializableModel { public Optional<ConfigurationFieldModel> getField(String fieldKey) { Objects.requireNonNull(fieldKey); return Optional.ofNullable(configuredFields.get(fieldKey)); } ConfigurationModel(Long registeredDescriptorId, Long descriptorConfigId, String createdAt, String lastUpdated, String context);  ConfigurationModel(Long registeredDescriptorId, Long descriptorConfigId, String createdAt, String lastUpdated, ConfigContextEnum context);  ConfigurationModel(Long registeredDescriptorId, Long descriptorConfigId, String createdAt, String lastUpdated, ConfigContextEnum context, Map<String, ConfigurationFieldModel> configuredFields); Long getDescriptorId(); Long getConfigurationId(); String getCreatedAt(); String getLastUpdated(); ConfigContextEnum getDescriptorContext(); Optional<ConfigurationFieldModel> getField(String fieldKey); List<ConfigurationFieldModel> getCopyOfFieldList(); Map<String, ConfigurationFieldModel> getCopyOfKeyToFieldMap(); ConfigurationModelMutable createMutableCopy();  }### Answer:
@Test public void getFieldTest() { ConfigurationModel configurationModel = createConfigurationModel(); assertTrue(configurationModel.getField(fieldKey).isPresent()); assertFalse(configurationModel.getField("badFieldKey").isPresent()); }