// Path: src/main/java/org/lmdbjava/LmdbNativeException.java
// static final int MDB_CORRUPTED = -30_796;
// 
// Path: src/main/java/org/lmdbjava/Meta.java
// public static String error(final int err) {
//   return LIB.mdb_strerror(err);
// }
// 
// Path: src/test/java/org/lmdbjava/TestUtils.java
// static void invokePrivateConstructor(final Class<?> clazz) {
//   try {
//     final Constructor<?> c = clazz.getDeclaredConstructor();
//     c.setAccessible(true);
//     c.newInstance();
//   } catch (final NoSuchMethodException | InstantiationException
//                      | IllegalAccessException | IllegalArgumentException
//                      | InvocationTargetException e) {
//     throw new LmdbException("Private construction failed", e);
//   }
// }
// 
// Path: src/main/java/org/lmdbjava/Meta.java
// public static final class Version {
// 
//   /**
//    * LMDC native library major version number.
//    */
//   public final int major;
// 
//   /**
//    * LMDC native library patch version number.
//    */
//   public final int minor;
// 
//   /**
//    * LMDC native library patch version number.
//    */
//   public final int patch;
// 
//   Version(final int major, final int minor, final int patch) {
//     this.major = major;
//     this.minor = minor;
//     this.patch = patch;
//   }
// }


import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.not;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.lmdbjava.LmdbNativeException.PageCorruptedException.MDB_CORRUPTED;
import static org.lmdbjava.Meta.error;
import static org.lmdbjava.TestUtils.invokePrivateConstructor;
import org.junit.Test;
import org.lmdbjava.Meta.Version;
/*-
 * #%L
 * LmdbJava
 * %%
 * Copyright (C) 2016 - 2021 The LmdbJava Open Source Project
 * %%
 * Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
 * 
 * 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.
 * #L%
 */

package org.lmdbjava;



/**
 * Test {@link Meta}.
 */
public final class MetaTest {

  @Test
  public void coverPrivateConstructors() {
// Path: src/main/java/org/lmdbjava/LmdbNativeException.java
// static final int MDB_CORRUPTED = -30_796;
// 
// Path: src/main/java/org/lmdbjava/Meta.java
// public static String error(final int err) {
//   return LIB.mdb_strerror(err);
// }
// 
// Path: src/test/java/org/lmdbjava/TestUtils.java
// static void invokePrivateConstructor(final Class<?> clazz) {
//   try {
//     final Constructor<?> c = clazz.getDeclaredConstructor();
//     c.setAccessible(true);
//     c.newInstance();
//   } catch (final NoSuchMethodException | InstantiationException
//                      | IllegalAccessException | IllegalArgumentException
//                      | InvocationTargetException e) {
//     throw new LmdbException("Private construction failed", e);
//   }
// }
// 
// Path: src/main/java/org/lmdbjava/Meta.java
// public static final class Version {
// 
//   /**
//    * LMDC native library major version number.
//    */
//   public final int major;
// 
//   /**
//    * LMDC native library patch version number.
//    */
//   public final int minor;
// 
//   /**
//    * LMDC native library patch version number.
//    */
//   public final int patch;
// 
//   Version(final int major, final int minor, final int patch) {
//     this.major = major;
//     this.minor = minor;
//     this.patch = patch;
//   }
// }


// Path: src/test/java/org/lmdbjava/MetaTest.java
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.not;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.lmdbjava.LmdbNativeException.PageCorruptedException.MDB_CORRUPTED;
import static org.lmdbjava.Meta.error;
import static org.lmdbjava.TestUtils.invokePrivateConstructor;
import org.junit.Test;
import org.lmdbjava.Meta.Version;

/*-
 * #%L
 * LmdbJava
 * %%
 * Copyright (C) 2016 - 2021 The LmdbJava Open Source Project
 * %%
 * Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
 * 
 * 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.
 * #L%
 */

package org.lmdbjava;



/**
 * Test {@link Meta}.
 */
public final class MetaTest {

  @Test
  public void coverPrivateConstructors() {
    invokePrivateConstructor(Meta.class);