private static void AssertValidRelGroupCommand(StorageCommand command)
        {
            assertThat(command, instanceOf(typeof(RelationshipGroupCommand)));
            RelationshipGroupCommand relGroupCommand = ( RelationshipGroupCommand )command;
            RelationshipGroupRecord  record          = relGroupCommand.After;

            assertEquals(ID, record.Id);
            if (_inUseFlag == Record.IN_USE.byteValue())
            {
                assertTrue(record.InUse());
            }
            else if (_inUseFlag == Record.NOT_IN_USE.byteValue())
            {
                assertFalse(record.InUse());
            }
            else
            {
                throw new System.InvalidOperationException("Illegal inUse flag: " + _inUseFlag);
            }
            assertEquals(_typeAsInt, record.Type);
            assertEquals(NEXT, record.Next);
            assertEquals(FIRST_OUT, record.FirstOut);
            assertEquals(FIRST_IN, record.FirstIn);
            assertEquals(FIRST_LOOP, record.Next);
            assertEquals(OWNING_NODE, record.OwningNode);
        }
 public override bool VisitRelationshipGroupCommand(RelationshipGroupCommand command)
 {
     Track(_neoStores.RelationshipGroupStore, command);
     return(false);
 }