<commit_before>/*
 * Cacheonix systems licenses this file to You under the LGPL 2.1
 * (the "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *      http://www.cacheonix.org/products/cacheonix/license-lgpl-2.1.htm
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.cacheonix.impl.net.cluster;

import org.cacheonix.impl.cache.distributed.partitioned.BucketTransferCompletedAnnouncement;
import junit.framework.TestCase;

/**
 * A tester for AssembledMessage.
 */
public class AssembledMessageTest extends TestCase {


   private static final long START_FRAME = 7777L;

   private BucketTransferCompletedAnnouncement message;

   private AssembledMessage assembledMessage;


   public void testGetMessage() throws Exception {

      assertEquals(message, assembledMessage.getMessage());
   }


   public void testGetStartFrameNumber() throws Exception {

      assertEquals(START_FRAME, assembledMessage.getStartFrameNumber());
   }


   public void testToString() throws Exception {

      assertNotNull(assembledMessage.toString());
   }

<commit_msg>Code quality: added a link to the class under test<commit_after>/*
 * Cacheonix systems licenses this file to You under the LGPL 2.1
 * (the "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *      http://www.cacheonix.org/products/cacheonix/license-lgpl-2.1.htm
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.cacheonix.impl.net.cluster;

import junit.framework.TestCase;
import org.cacheonix.impl.cache.distributed.partitioned.BucketTransferCompletedAnnouncement;

/**
 * A tester for {@link AssembledMessage}.
 */
public class AssembledMessageTest extends TestCase {


   private static final long START_FRAME = 7777L;

   private BucketTransferCompletedAnnouncement message;

   private AssembledMessage assembledMessage;


   public void testGetMessage() throws Exception {

      assertEquals(message, assembledMessage.getMessage());
   }


   public void testGetStartFrameNumber() throws Exception {

      assertEquals(START_FRAME, assembledMessage.getStartFrameNumber());
   }


   public void testToString() throws Exception {

      assertNotNull(assembledMessage.toString());
   }


{'fraction_non_alphanumeric': 0.072992700729927, 'fraction_numerical': 0.005561348627042058, 'mean_word_length': 4.242258652094717, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '828817', 'n_tokens_mistral': 753, 'n_tokens_neox': 709, 'n_words': 270}