@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof TestBox)) return false;

        TestBox testBox = (TestBox) o;

        if (depth != testBox.depth) return false;
        if (height != testBox.height) return false;
        if (width != testBox.width) return false;
        if (color != null ? !color.equals(testBox.color) : testBox.color != null) return false;

        return true;
    }