Made Entity implementation of IObjectView.AssertEqual conditional (DEBUG).