// Path: src/main/java/org/lmdbjava/Library.java
// static final jnr.ffi.Runtime RUNTIME;
// 
// 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/Library.java
// @SuppressWarnings({"checkstyle:TypeName", "checkstyle:VisibilityModifier",
//                    "checkstyle:MemberName"})
// public static final class MDB_envinfo extends Struct {
// 
//   public final Pointer f0_me_mapaddr;
//   public final size_t f1_me_mapsize;
//   public final size_t f2_me_last_pgno;
//   public final size_t f3_me_last_txnid;
//   public final u_int32_t f4_me_maxreaders;
//   public final u_int32_t f5_me_numreaders;
// 
//   MDB_envinfo(final jnr.ffi.Runtime runtime) {
//     super(runtime);
//     this.f0_me_mapaddr = new Pointer();
//     this.f1_me_mapsize = new size_t();
//     this.f2_me_last_pgno = new size_t();
//     this.f3_me_last_txnid = new size_t();
//     this.f4_me_maxreaders = new u_int32_t();
//     this.f5_me_numreaders = new u_int32_t();
//   }
// }


import static java.lang.Long.BYTES;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.lmdbjava.Library.RUNTIME;
import static org.lmdbjava.TestUtils.invokePrivateConstructor;
import org.junit.Test;
import org.lmdbjava.Library.MDB_envinfo;
/*-
 * #%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 Library}.
 */
public final class LibraryTest {

  @Test
  public void coverPrivateConstructors() {
// Path: src/main/java/org/lmdbjava/Library.java
// static final jnr.ffi.Runtime RUNTIME;
// 
// 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/Library.java
// @SuppressWarnings({"checkstyle:TypeName", "checkstyle:VisibilityModifier",
//                    "checkstyle:MemberName"})
// public static final class MDB_envinfo extends Struct {
// 
//   public final Pointer f0_me_mapaddr;
//   public final size_t f1_me_mapsize;
//   public final size_t f2_me_last_pgno;
//   public final size_t f3_me_last_txnid;
//   public final u_int32_t f4_me_maxreaders;
//   public final u_int32_t f5_me_numreaders;
// 
//   MDB_envinfo(final jnr.ffi.Runtime runtime) {
//     super(runtime);
//     this.f0_me_mapaddr = new Pointer();
//     this.f1_me_mapsize = new size_t();
//     this.f2_me_last_pgno = new size_t();
//     this.f3_me_last_txnid = new size_t();
//     this.f4_me_maxreaders = new u_int32_t();
//     this.f5_me_numreaders = new u_int32_t();
//   }
// }


// Path: src/test/java/org/lmdbjava/LibraryTest.java
import static java.lang.Long.BYTES;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.lmdbjava.Library.RUNTIME;
import static org.lmdbjava.TestUtils.invokePrivateConstructor;
import org.junit.Test;
import org.lmdbjava.Library.MDB_envinfo;

/*-
 * #%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 Library}.
 */
public final class LibraryTest {

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