33f1c9a16c1f45c4641cbf1a19f20acedf0d49f9
[mdsal.git] / common / mdsal-common-api / src / test / java / org / opendaylight / mdsal / common / api / CommitInfoTest.java
1 /*
2  * Copyright (c) 2023 PANTHEON.tech, s.r.o. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.mdsal.common.api;
9
10 import static org.junit.jupiter.api.Assertions.assertSame;
11
12 import org.junit.jupiter.api.Test;
13
14 class CommitInfoTest {
15     @Test
16     void testEmpty() {
17         assertSame(EmptyCommitInfo.INSTANCE, CommitInfo.empty());
18     }
19
20     @Test
21     void testEmptyFluentFuture() {
22         assertSame(EmptyCommitInfo.FLUENT_INSTANCE, CommitInfo.emptyFluentFuture());
23     }
24 }