### Question:
NativePlacementBuilder extends PlacementBuilder<UnifiedNativeAdRequestParams> { @VisibleForTesting static Placement.DisplayPlacement.NativeFormat.AssetFormat createVideoAsset(@NonNull UnifiedNativeAdRequestParams adRequestParams) { Placement.DisplayPlacement.NativeFormat.AssetFormat.Builder asset = Placement.DisplayPlacement.NativeFormat.AssetFormat.newBuilder(); asset.setId(VIDEO_ASSET_ID); asset.setReq(adRequestParams.containsAssetType(MediaAssetType.Video)); asset.setVideo(Placement.VideoPlacement.newBuilder() .setSkip(false) .addCtype(VideoCreativeType.VIDEO_CREATIVE_TYPE_VAST_2_0) .addCtype(VideoCreativeType.VIDEO_CREATIVE_TYPE_VAST_3_0) .addCtype(VideoCreativeType.VIDEO_CREATIVE_TYPE_VAST_WRAPPER_2_0) .addCtype(VideoCreativeType.VIDEO_CREATIVE_TYPE_VAST_WRAPPER_3_0) .addAllMime(Arrays.asList(Constants.VIDEO_MIME_TYPES)) .setMinbitr(Constants.VIDEO_MINBITR) .setMaxbitr(Constants.VIDEO_MAXBITR) .setMindur(Constants.VIDEO_MINDUR) .setMaxdur(Constants.VIDEO_MAXDUR) .setLinearValue(Constants.VIDEO_LINEARITY) .build()); return asset.build(); } NativePlacementBuilder(boolean supportHeaderBidding); @Override void createPlacement(@NonNull ContextProvider contextProvider,
                                @NonNull UnifiedNativeAdRequestParams adRequestParams,
                                @NonNull AdsType adsType,
                                @NonNull Collection<NetworkConfig> networkConfigs,
                                @NonNull PlacementCreateCallback callback); @Override AdObjectParams createAdObjectParams(@NonNull ContextProvider contextProvider,
                                               @NonNull UnifiedNativeAdRequestParams adRequest,
                                               @NonNull Response.Seatbid seatbid,
                                               @NonNull Response.Seatbid.Bid bid,
                                               @NonNull Ad ad);  }### Answer:
@Test public void createVideoAsset() { NativeRequest nativeRequest = new NativeRequest.Builder() .setMediaAssetTypes(MediaAssetType.Video) .build(); UnifiedNativeAdRequestParams nativeAdRequestParams = TestUtils.createUnifiedNativeAdRequestParams( nativeRequest, new TargetingParams(), mock(DataRestrictions.class)); Placement.DisplayPlacement.NativeFormat.AssetFormat assetFormat = NativePlacementBuilder .createVideoAsset(nativeAdRequestParams); assertTrue(assetFormat.getReq()); nativeRequest = new NativeRequest.Builder() .setMediaAssetTypes(MediaAssetType.Icon) .build(); nativeAdRequestParams = TestUtils.createUnifiedNativeAdRequestParams( nativeRequest, new TargetingParams(), mock(DataRestrictions.class)); assetFormat = NativePlacementBuilder .createVideoAsset(nativeAdRequestParams); assertFalse(assetFormat.getReq()); }