@Test
public void saveSoilData_oneValidSoilData() {
// Given
SoilDataRepository soilDataRepository = new MongoSoilDataRepository(db);
DefaultSoilDataService soilDataService = new DefaultSoilDataService(soilDataRepository);
SoilDataReadService soilDataReadService = new MongoSoilDataReadService(db);
SoilData soilData = SoilDataFaker.createValidSoilData();
// When
String createdObjectId = soilDataService.save(soilData);
String updatedObjectId = soilDataService.save(soilData);
long count = soilDataReadService.getNewestSoilDataCount();
// Then
assertThat(createdObjectId).isNotNull();
assertThat(updatedObjectId).isNotNull();