-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
- Loading branch information
1 parent
31e0f6c
commit cd4ad2f
Showing
1 changed file
with
33 additions
and
1 deletion.
There are no files selected for viewing
34 changes: 33 additions & 1 deletion
34
...model/jnosql-metamodel-sample/src/test/java/org/eclipse/jnsoql/entities/CheckoutTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,36 @@ | ||
/* | ||
* Copyright (c) 2024 Otávio Santana and others | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* and Apache License v2.0 which accompanies this distribution. | ||
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html | ||
* and the Apache License v2.0 is available at http://www.opensource.org/licenses/apache2.0.php. | ||
* | ||
* You may elect to redistribute this code under either of these licenses. | ||
* | ||
* Contributors: | ||
* | ||
* Otavio Santana | ||
*/ | ||
package org.eclipse.jnsoql.entities; | ||
|
||
import org.assertj.core.api.SoftAssertions; | ||
import org.junit.jupiter.api.Test; | ||
|
||
import static org.junit.jupiter.api.Assertions.*; | ||
|
||
class CheckoutTest { | ||
|
||
|
||
|
||
@Test | ||
void shouldGenerateStaticMetamodel() { | ||
|
||
SoftAssertions.assertSoftly(softly -> { | ||
softly.assertThat(_Checkout.id).isNotNull(); | ||
softly.assertThat(_Checkout.products).isNotNull(); | ||
softly.assertThat(_Checkout.products_name).isNotNull(); | ||
softly.assertThat(_Checkout.products_name).isNotNull(); | ||
}); | ||
} | ||
|
||
} |