import React from 'react';
import { render } from '@testing-library/react';

import AssetLicenseForm from './asset-license-form';
import { AssetLicenseDto } from '@gtpl/shared-models/asset-management';

describe('AssetLicenseForm', () => {
  it('should render successfully', () => {
    const { baseElement } = render(
      <AssetLicenseForm assetLicenseData={undefined} updateReason={function (licensereason: AssetLicenseDto): void {
        throw new Error('Function not implemented.');
      } } isUpdate={false} closeForm={function (): void {
        throw new Error('Function not implemented.');
      } } />
    );
    expect(baseElement).toBeTruthy();
  });
});
