public WallEntrySerializerTest() { // Инициализация сериализатора для CustomSocket _walSerializer = new WalEntrySerializer <CustomSocket>(new CustomSocketSerializer()); // Заполнение тестовых данных _walEntryInsert = new WalEntry <CustomSocket>(CsvDbAction.Insert, _socket.GetHashCode(), _socket); _insertString = $"Insert:::{_socket.GetHashCode()}:::{_socketCsvLine}"; _walEntryUpdate = new WalEntry <CustomSocket>(CsvDbAction.Update, _socket.GetHashCode(), _socket); _updateString = $"Update:::{_socket.GetHashCode()}:::{_socketCsvLine}"; _walEntryDelete = new WalEntry <CustomSocket>(CsvDbAction.Delete, _socket.GetHashCode(), _socket); _deleteString = $"Delete:::{_socket.GetHashCode()}:::{_socketCsvLine}"; }