diff --git a/core/graph/src/test/java/uk/gov/gchq/gaffer/graph/GraphSerialisableTest.java b/core/graph/src/test/java/uk/gov/gchq/gaffer/graph/GraphSerialisableTest.java index 5cc6df1fb71..f9a3a1578e9 100644 --- a/core/graph/src/test/java/uk/gov/gchq/gaffer/graph/GraphSerialisableTest.java +++ b/core/graph/src/test/java/uk/gov/gchq/gaffer/graph/GraphSerialisableTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2023 Crown Copyright + * Copyright 2017-2024 Crown Copyright * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -95,7 +95,9 @@ public void shouldConsumeGraph() { final GraphSerialisable result = new GraphSerialisable.Builder(graph).build(); // When / Then - assertThat(result).isEqualTo(expected); + assertThat(result.getSerialisedConfig()).isEqualTo(expected.getSerialisedConfig()); + assertThat(result.getSerialisedSchema()).isEqualTo(expected.getSerialisedSchema()); + assertThat(result.getStoreProperties()).isEqualTo(expected.getStoreProperties()); } @Test