/*
 * File: ProfileHeader.test.tsx
 * Description: Test for ProfileHeader component
 * Design & Developed by Tech4Biz Solutions
 * Copyright (c) Spurrin Innovations. All rights reserved.
 */

import React from 'react';
import { render } from '@testing-library/react-native';
import ProfileHeader from '../components/ProfileHeader';

describe('ProfileHeader', () => {
  it('renders avatar and name', () => {
    const { getByText } = render(
      <ProfileHeader user={{ name: 'Dr. Smith', avatar: 'https://example.com/avatar.png' }} />
    );
    expect(getByText('Dr. Smith')).toBeTruthy();
  });
});

/*
 * End of File: ProfileHeader.test.tsx
 * Design & Developed by Tech4Biz Solutions
 * Copyright (c) Spurrin Innovations. All rights reserved.
 */ 